const app = getApp()

Page({
  data: {
    url: ""
  },

  onLoad(options) {
    this.setData({
      url: decodeURIComponent(options.url)
    });
  },

  onShareAppMessage() {
    return {
      title: share,
      path: '/pages/index/index',
      success: function (res) { },
      fail: function (res) { }
    }
  },
})